<!doctype html>
<html lang="en-US">
<head>
	<meta charset="UTF-8" />
	<title>Congo Documentation</title>
	<link rel="stylesheet" type="text/css" href="pagestyle.css" />
</head>
<body>
	<div class="sheet container">
		<header class="main">

			<div class="title">
				<a href="Modules_congo.html"><img src="data/congo.png"/></a>Congo Documentation
			</div>

		</header>

		<div class="row content">
			<div class="span12">
			
				
<h1>Class <span class="name">MochiWrapper</span></h1>


	<p>	Wrapper Class.
	<a href="#description"> More...</a></p>


<hr>

<table class="table scope-contents">
	
	
	
	
	

	

	
	
	
	
	

	

	
	
	
	
	
	
	

									
		<tr>
			<td class="span1 name">Functions:</td>
			<td>
				<ul class="unstyled">
					
						<li><a href='#CloseShowcase'>CloseShowcase</a> : Void ()</li>
					
						<li><a href='#ConnectToMochi'>ConnectToMochi</a> : Void ( mochi_game_id:String )</li>
					
						<li><a href='#LoadShowcase'>LoadShowcase</a> : Void ( mochi_game_id:String, posString:String )</li>
					
						<li><a href='#MochiError'>MochiError</a> : Void ()</li>
					
						<li><a href='#OpenShowcase'>OpenShowcase</a> : Void ()</li>
					
						<li><a href='#ShowInterLevelAd'>ShowInterLevelAd</a> : Void ( mochi_game_id:String, resString:String )</li>
					
						<li><a href='#SubmitScore'>SubmitScore</a> : Void ( playerscore:Int, boardIDArray:Int[] )</li>
					
				</ul>
			</td>
		</tr>
	
	
	
	
	
	
	
	
</table>


	<a name="description"></a>
	<h2>Detailed Discussion</h2>
		Wrapper Class. Most functions are static (currently doesnt store the game id).
	
	
	<hr>












						
	<h2>Function Documentation</h2>
	<div class="scope-members-list">
		
			<div class="item">
				<a name='CloseShowcase'></a>
				<div class="well well-small name"><b>Function CloseShowcase : Void ()</b></div>
				<div class="description">
					<p></p>
					
					
				</div>
			</div>
		
			<div class="item">
				<a name='ConnectToMochi'></a>
				<div class="well well-small name"><b>Function ConnectToMochi : Void ( mochi_game_id:String )</b></div>
				<div class="description">
					<p>	Connect. Call this early on, e.g. at startup/splashscreen. Use the game id provided To you by Mochi.</p>
					
					
				</div>
			</div>
		
			<div class="item">
				<a name='LoadShowcase'></a>
				<div class="well well-small name"><b>Function LoadShowcase : Void ( mochi_game_id:String, posString:String )</b></div>
				<div class="description">
					<p></p>
					
					
				</div>
			</div>
		
			<div class="item">
				<a name='MochiError'></a>
				<div class="well well-small name"><b>Function MochiError : Void ()</b></div>
				<div class="description">
					<p>	General Error.</p>
					
					
				</div>
			</div>
		
			<div class="item">
				<a name='OpenShowcase'></a>
				<div class="well well-small name"><b>Function OpenShowcase : Void ()</b></div>
				<div class="description">
					<p></p>
					
					
				</div>
			</div>
		
			<div class="item">
				<a name='ShowInterLevelAd'></a>
				<div class="well well-small name"><b>Function ShowInterLevelAd : Void ( mochi_game_id:String, resString:String )</b></div>
				<div class="description">
					<p></p>
					
					
				</div>
			</div>
		
			<div class="item">
				<a name='SubmitScore'></a>
				<div class="well well-small name"><b>Function SubmitScore : Void ( playerscore:Int, boardIDArray:Int[] )</b></div>
				<div class="description">
					<p>	Submit score. The Mochi dialog/leaderboard widget is shown. The board id Array is as described in the Mochi sample code.</p>
					
					
				</div>
			</div>
		
	</div>
	<hr>


				
			</div>
		</div>
	</div>
</body>
</html>